import request from '@/utils/request'

// 查询清关订单管理列表
export function listClearOrder(query) {
  return request({
    url: '/wms/clearOrder/list',
    method: 'get',
    params: query
  })
}

// 查询清关订单管理详细
export function getClearOrder(id) {
  return request({
    url: '/wms/clearOrder/' + id,
    method: 'get'
  })
}

// 新增清关订单管理
export function addClearOrder(data) {
  return request({
    url: '/wms/clearOrder',
    method: 'post',
    data: data
  })
}

// 修改清关订单管理
export function updateClearOrder(data) {
  return request({
    url: '/wms/clearOrder',
    method: 'put',
    data: data
  })
}

// 删除清关订单管理
export function delClearOrder(id) {
  return request({
    url: '/wms/clearOrder/' + id,
    method: 'delete'
  })
}
